![]() |
PATH![]() |
![]() ![]() |
Your UAM's UAMCall routine is called with a command of UAMOpen after the AppleShare client loads the clietn UAM's code resource. The object name, object zone (if available), Open Transport address, and the server information are passed in. If the connection is already established the sessionRefNum field is filled in; otherwise the value of the sessionRefNum field is 0.
Your UAM must return a 32-bit value named configInfo , which the AFP client interprets as an OSStatus if its value is less than zero. Otherwise, set the bits in configInfo as described in Table 3-2 to indicate the UAM commands that your UAM supports.
Table 3-2 Bit values of configInfo
Note
If your UAM does not return information in the UAMInfo field of the UAMArgs structure, the UAMInfo pointer is nil and the AFP client cannot call your UAMCall routine with a command of UAMGetInfo or UAMGetInfoSize ,